package com.hhx.ec.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hhx.ec.feign.FeignService;

@Service
public class ServiceFeignImpl {

	@Resource
	private FeignService feignService;
	/**
	 *   测试feign
	 * @param name
	 * @return
	 */
	public Object testFeign(String name) {
		Object service = feignService.getService(name);
		return  service;
	}
	
	
}
